import request from '@/utils/request'

export function getIndoorAir(params) {
  return request({
    url: '/iot/data/get_indoor_air',
    method: 'get',
    params
  })
}

export function getRain(params) {
  return request({
    url: '/iot/data/get_rain',
    method: 'get',
    params
  })
}

export function getOutdoorAir(params) {
  return request({
    url: '/iot/data/get_outdoor_air',
    method: 'get',
    params
  })
}

export function getSoil(params) {
  return request({
    url: '/iot/data/get_soil',
    method: 'get',
    params
  })
}

export function getLaser(params) {
  return request({
    url: '/iot/data/get_laser',
    method: 'get',
    params
  })
}

export function getCord(params) {
  return request({
    url: '/iot/data/get_cord',
    method: 'get',
    params
  })
}
